<template>
  <div class="main">
      <div>
          默认哦
      </div>
      <div v-show="active === '1-1'">
          424ssssssssss
      </div>
      <div v-show="active === '1-2'">
          42dddddddddddddd
      </div>
  </div>
</template>

<script>
export default {
    props:['active'],
    data(){
        return {
            id:1-1,
        }
    }
}
</script>

<style>

</style>